#define _CRT_SECURE_NO_WARNINGS

#include"Queue.h"
int main() {
	
	Que pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);
	int num = QueueSize(&pq);
	printf("%d\n", num);
	while (pq.size > 0) {
		int ret=QueueFront(&pq);
		printf("%d ", ret);
		QueuePop(&pq);
	}
	printf("\n");
	num = QueueSize(&pq);
	printf("%d\n", num);




	QueueDestroy(&pq);
	return 0;
}